package com.jdyxk.commons.response;

/**
 * @author 李昊哲
 * @Description
 * @createTime 2021/7/14 下午12:06
 */
public class ResponseResult<T> {
    private String code;
    private String msg;
    private String token;
    private T date;

    public ResponseResult() {

    }
    public ResponseResult(String code, String msg,  T date) {
        this.code = code;
        this.msg = msg;
        this.date = date;
    }
    public ResponseResult(String code, String msg, String token, T date) {
        this.code = code;
        this.msg = msg;
        this.token = token;
        this.date = date;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }
}
